package com.es.action.deploy;

import com.es.common.Cache;

/**
 * 部署扩展
 * @author Will
 */
public class DeployEx {

    private static volatile DeployEx instance = null;

    private String targetClassesPath;

    private DeployEx() {
        this.targetClassesPath = (String) Cache.get("targetClassesPath");
    }

    /**
     * 单例实现
     *
     * @return instance
     */
    public static DeployEx getInstance() {
        if (instance == null) {
            synchronized (DeployEx.class) {
                if (instance == null) {
                    instance = new DeployEx();
                }
            }
        }
        return instance;
    }


}
